﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.BLL.Core.IService;
using Empires.CRL.DataContract;
using Empires.RAL.Pump;
using Empires.RAL.Access;

namespace Empires.BLL.Core.Implement
{
    public class CompanyManagementService : ICompanyManagementService
    {
        public BaseConfigDataPack GetBaseConfigModel(string copname)
        {
            ICompanyManagementAccess access = new CompanyManagementDataPump();
            return access.GetBaseConfigModel(copname);
        }


        public bool UpdateBaseConfig(string copname, BaseConfigDataPack model)
        {
            ICompanyManagementAccess access = new CompanyManagementDataPump();
            return access.UpdateBaseConfig(copname,model);
        }
    }
}
